package org.iati.mobile;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Root;
import org.simpleframework.xml.Text;

@Root(name="sector", strict = false)
public class Sector {
	@Attribute(name="vocabulary", required=false)
	private String vocabulary;
	
	@Attribute(name="code", required=false)
	private String code;
	
	@Attribute(name="percentage", required=false)
	private long percentage;
	
	@Text (required=false)
	private String description;

	/**
	 * @return the vocabulary
	 */
	public String getVocabulary() {
		return vocabulary;
	}

	/**
	 * @param vocabulary the vocabulary to set
	 */
	public void setVocabulary(String vocabulary) {
		this.vocabulary = vocabulary;
	}

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param code the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * @return the percentage
	 */
	public long getPercentage() {
		return percentage;
	}

	/**
	 * @param percentage the percentage to set
	 */
	public void setPercentage(long percentage) {
		this.percentage = percentage;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}
}
